#ifndef CERTTESTWINDOW_H
#define CERTTESTWINDOW_H
#include <QtGui>
#include <QtNetwork/QTcpSocket>
#include "ui_CertTestForm.h"
#include "InnerWindow.h"

class CertTestWindow: public InnerWindow, Ui::CertTestForm
{
    Q_OBJECT

private:
    QTcpSocket* pTcpSocket;

public:
    CertTestWindow();
    ~CertTestWindow();

    void clearInnerWindow();

private slots:
    void connected();
    void disconnected();
    void readyToRead();
    void error(QAbstractSocket::SocketError err);
    void sendToServer();

    void dwnPressed();
};


#endif // CERTTESTWINDOW_H
